<%@page isELIgnored="false" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@taglib uri="http://java.sun.com/jstl/core_rt" prefix="c" %>
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags" %>

<div style="padding:10px">
		<span class="title">Lecturer Details</span>			
			<table class="details" width="450">
				<tr>
					<td><label><spring:message code="form.first.name"/></label></td>
					<td>${lecturer.firstName}</td>
				</tr>
				<tr>
					<td><label><spring:message code="form.last.name"/></label></td>
					<td>${lecturer.lastName}</td>
				</tr>
				<tr>
					<td><label><spring:message code="form.email"/></label></td>
					<td>${lecturer.email}</td>
				</tr>
				<tr>
					<td><label><spring:message code="form.picture"/></label></td>
					<c:choose>
						<c:when test="${empty student.imageKey}">
							<td><img src="/img/no_image.gif"/></td>
						</c:when>
						<c:otherwise>
							<td><img src="/resize.do?key=${lecturer.imageKey}&width=125&height=125"/></td>
						</c:otherwise>
					</c:choose>
				</tr>								
				<tr>
					<td valign="top" style="padding-top:5px; width: 83px;"><label><spring:message code="form.short.bio"/></label></td>
					<td width="200">${lecturer.bio}</td>
				</tr>
				<tr>
					<td colspan="2"><a class="underlineLink" href="javascript:history.go(-1)">Take me back</a></td>
				</tr>
			</table>
</div>